<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>共森礼品</title>
    <link href="/static/layui/css/layui.css" rel="stylesheet">
</head>
<style>
    .ty{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 800px;
    }

    .ty div{
        padding: 60px;
    }
    .ty div button{
        width: 450px;
        height: 60px;
        font-size: 25px;
        border-radius: 10px;
    }
    .layui-btn.layui-bg-blue{
        background-color: #276040 !important;
    }
</style>

<body>

<ul class="layui-nav" style="display: flex;justify-content: flex-end; background-color: #ffffff">

    <li class="layui-nav-item">
        <a href="javascript:;" style="color: #1f1f1f" th:text="${session.loginUser}"></a>
        <dl class="layui-nav-child">
            <dd><a href="/logout">安全退出</a></dd>
        </dl>
    </li>

</ul>

    <div class="ty">
        <div>
            <button type="button" class="layui-btn" onclick="open_product('/office/index')">供应商新产品池</button>
        </div>
        <div>
            <button type="button" class="layui-btn layui-bg-blue" onclick="open_product('/build/home')">共森历史产品池</button>
        </div>
    </div>

    <script src="/static/layui/layui.js"></script>
<script>

    function open_product(param){
        debugger
        window.open(param, '_blank');
        //window.open(param)
    }

</script>
</body>

</html>